package com.yfp.client.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yfp.common.core.web.domain.BaseEntity;
import lombok.Data;

/**
 * 购物车表
 * <p>
 * {@code @TableName} client_shopping_carts
 * </p>
 */
@Data
@TableName(value = "client_shopping_carts")
public class ShoppingCarts extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    private String clientId;

    /**
     * 设备id
     */
    private String machineId;

    /**
     * 套餐id
     */
    private String packageId;

    /**
     * 数量
     */
    private Integer quantity;

}